#ifndef OxpontHCSR04
#define OxpontHCSR04
#include <Arduino.h>


class OxpontHCSR04
{
  public:

  OxpontHCSR04(){};

  uint32_t getDistanceCM(int trigPin, int echoPin);
  float getDistanceIN(int trigPin, int echoPin);

  private:

  uint64_t myPulseIn(uint32_t pin, uint32_t value, long maxDuration = 100000);

};

#endif
